package com.wdm.repository;

import com.wdm.model.Alumni;
import com.wdm.model.AlumniMongo;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * Created by Administrator on 2016-5-4.
 */
public interface AlumniMongoRepository extends MongoRepository<AlumniMongo, String>
{
    List<AlumniMongo> findAllByName(String name);
}
